package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.dto.weixiubaoyang.SelMaintainPlanListDto;
import com.example.entity.vo.weixiubaoyang.SelMaintainPlanListVo;
import com.example.entity.yifei.Maintainplan;
import com.example.entity.yifei.Maintainplanitem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 计划规则表 Mapper 接口
 * </p>
 *
 * @author Lan
 * @since 2024-11-07
 */
public interface MaintainplanMapper extends BaseMapper<Maintainplan> {

    List<SelMaintainPlanListVo> selMaintainPlanList(@Param("dto") SelMaintainPlanListDto dto);

    List<Maintainplan> mouldOnList();

    List<Maintainplan> mouldOnListTuiMoDan();

    // 机器点检
    List<Maintainplanitem> jiQiDianJianItemList();

    List<Maintainplan> deviceOnList(@Param("deviceGroupId") Integer deviceGroupId);

    Maintainplan getNextMaintainPlan(@Param("te029") String te029);
}
